Auto merge of #2551 - alexcrichton:explain, r=brson
authorbors <bors@rust-lang.org>
Thu, 21 Apr 2016 17:09:27 +0000 (10:09 -0700)
committerbors <bors@rust-lang.org>
Thu, 21 Apr 2016 17:09:27 +0000 (10:09 -0700)
commitb462d50a44776d86de9dcc43a7a52e82c138a09c
tree185e82c57fa3a725cc0afafb380b9fb190ef0cc9
parente12d5ade0b2208d1ec638c86099880a489ca7270
parent8dad57e8d64d32cca4d7cd9ada227eec8ba79bbc
Auto merge of #2551 - alexcrichton:explain, r=brson

Add support for `cargo --explain`

The error messages in the compiler are being tweaked and will likely drop the
`rustc --explain` part of the error message in favor of `--explain`. In that
case you're expected to basically take whatever tool you're using and pass
`--explain` to it with an error code, so let's add it to Cargo as well!